package com.yunji.storage.dao;

import com.yunji.common.base.IBaseDao;
import com.yunji.storage.bo.StockTakeRemoveBO;
import com.yunji.storage.bo.StockTakeResetBO;
import com.yunji.storage.bo.StockTakeSelectQueryBO;
import com.yunji.storage.bo.StorageUpdateAuditBO;
import com.yunji.storage.domain.StockTakeDO;

public interface IStockTakeDao extends IBaseDao<StockTakeDO> {
    StockTakeDO select(StockTakeSelectQueryBO bo);

    boolean deleteByTicket(StockTakeRemoveBO bo);

    boolean delete(Long... stockTakeIds);

    boolean create(StockTakeDO stockTake);

    boolean updateTicket(StockTakeDO update);

    void reset(StockTakeResetBO bo);

    boolean updateAuditStatus(StorageUpdateAuditBO auditBO);
}
